package com.sskj.base.utils;

public class MobileUtil {

    public static String hideMobile(String mobile) {
        if (mobile != null) {
            String hidePhone = mobile.replaceAll("(\\d{3})\\d{5}(\\d{3})", "$1*****$2");
            return hidePhone;
        }
        return "";
    }
}
